#ifndef ECHOCLIENT_H
#define ECHOCLIENT_H
/*
* Copyright (C) 2008-2009 Manjeet Dahiya
*
* Author:
*    Manjeet Dahiya
*/

#include "QXmppClient.h"
//#include "tmp_mainwindow.h"
#include "QXmppStream.h"
#include "ui_colaborative_conf.h"

class ToucheXmppClient : public QXmppClient
{
    Q_OBJECT

private:
    QString email;
    QString pass;
public:
    ToucheXmppClient(QObject *parent=0);
    ~ToucheXmppClient();
    QListWidget *chat;
    void PatchMsg(QString msg);
    void setEmail(QString mail);
    void setPass(QString pass);
    QString getEmail();
    QString getPass();



public slots:
    void clientConnected();
    void rosterReceived();
    void presenceChanged(const QString& bareJid, const QString& resource);
    void sendMessage(const QXmppMessage& message);
    void addBuddy(const QString& bareJid);


};
#endif
